{%extends 'base.html' %}
{% block extra_link %}
{% load static %}
<link href="{%static '/css/md.css' %}" rel="stylesheet" type="text/css" />
<link href="{%static '/css/blog.css' %}" rel="stylesheet" type="text/css" />
{% endblock %}
{% block main_body %}
	<div id="page">
		<img src={%static 'img/back.png'%} id="page_back" alt="wtf"  onclick="window.location.href='{{referer}}'" >
		<h1 class="title">{{p.title}}</h1>
		<div id="page_message">
			<span class="time">发布时间：{{p.createtime}} | 最后更新时间：{{p.lasttime}}</span>
			{% load tools %}
			<span class="views"><img src={%static 'img/views.png'%} alt='wtf'> {% get_visits p%}</span>
		</div>
		<hr/>
		<div id="md_main">
			{{p.content|safe}}
		</div>
	</div>
{% endblock %}